//
//  MenuListModel.m
//  Shengzhuli
//
//  Created by 卡忙科技 on 16/8/20.
//  Copyright © 2016年 kamangkeji. All rights reserved.
//

#import "MenuListModel.h"

@implementation MenuListModel

- (instancetype)initWithDict:(NSDictionary *)dict
{
    if (self = [super init]) {
        self.createDate = dict[@"createDate"];
        self.ID = [dict[@"id"] integerValue];
        self.name = dict[@"name"];
        self.parentId = [dict[@"parentId"] integerValue];
    }
    return self;
}

+ (instancetype)objectWithDict:(NSDictionary *)dict
{
    return [[MenuListModel alloc]initWithDict:dict];
}

@end
